﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>설치형UCC 프로젝트 - UCCLIGHT</title>
    <link href="Common.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <a href="http://ucclight.hoons.kr" target="_blank" ><img src="/img/ucclight.jpg" style="padding-left:10px" /></a>
    <div style="border: solid 1px #CCCCCC; height: 100%; width: 600px; padding: 10px 10px 10px 10px;
        margin-top: 15px; margin-left: 10px;">
        <asp:ListView ID="lvList" runat="server" ItemPlaceholderID="phItemList">
            <LayoutTemplate>
                <ul style="margin-top: .25em; margin-left: 1em; padding-left: 0px; list-style: none;
                    width: 100%">
                    <asp:PlaceHolder ID="phItemList" runat="server"></asp:PlaceHolder>
                </ul>
            </LayoutTemplate>
            <ItemTemplate>
                <li style='padding: 10px 10px 10px 10px;'>
                    <table>
                        <tr>
                            <td style="width: 220px">
                                <%#SetLink()%>
                            </td>
                            <td style="width: 400px; padding-top: 10px" valign="top">
                                <b>제목: </b>
                                <%#Eval("UCCTitle")%>
                                <br /><br />
                                <b>작성자: </b>
                                 <%#Eval("UCCUserName")%>
                                <br /><br />
                                <b>작성일: </b>
                                <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "UCCWriteDate")).ToShortDateString()%>
                                </span><br />
                                <br />
                            </td>
                        </tr>
                    </table>
                </li>
            </ItemTemplate>
        </asp:ListView>
    </div>
    <div style="text-align: right; width: 600px; padding-top: 20px; padding-bottom: 20px">
        <asp:LinkButton ID="btnNew" ForeColor="Black" runat="server" OnClick="btnNew_Click">[동영상 올리기]</asp:LinkButton></div>
    </div>
    </form>
</body>
</html>
